<?php

include('config.php');

session_start();

if(!isset($_SESSION['user_type'])){
	header("location: login.php");

}elseif ($_SESSION['user_type'] != 'a'){
	header("location: unauthorized.php");
}

?>
